export interface FilterNav {
  title: string,
  count: string,
  isSelect: boolean,
  child?: FilterNav[] // 子菜单
}

export function useFilterNav() {
  const filterNavList: FilterNav[] = [
    {
      title: 'Categories',
      count: '10',
      isSelect: false,
      child: [
        {
          title: 'Grocery & Pantry',
          count: '11986',
          isSelect: false
        },
        {
          title: 'Beverages',
          count: '3289',
          isSelect: false
        },
        {
          title: 'Chilled & Deli',
          count: '3042',
          isSelect: false
        },
        {
          title: 'Frozen Foods',
          count: '1915',
          isSelect: false
        },
        {
          title: 'Bakery & Baking Needs',
          count: '1905',
          isSelect: false
        },
        {
          title: 'Breakfast & Bulk Foods',
          count: '1170',
          isSelect: false
        },
        {
          title: 'Baby & Child',
          count: '420',
          isSelect: false
        },
        {
          title: 'Meat & Seafood',
          count: '182',
          isSelect: false
        },
        {
          title: 'Fruit & Vegetable',
          count: '11',
          isSelect: false
        },
        {
          title: 'Vitamins & Supplements',
          count: '6',
          isSelect: false
        }
      ]
    },
    {
      title: 'Retailers',
      count: '10k+',
      isSelect: false,
      child: [
        {
          title: 'Woolworths Australia',
          count: '5026',
          isSelect: false
        }
      ]
    },
    {
      title: 'Brands',
      count: '100+',
      isSelect: false,
      child: [
        {
          title: 'Woolworths',
          count: '1217',
          isSelect: false
        },
        {
          title: 'Pams',
          count: '390',
          isSelect: false
        },
        {
          title: 'Ceres Organics',
          count: '263',
          isSelect: false
        },
        {
          title: 'Cadbury',
          count: '249',
          isSelect: false
        },
        {
          title: `Wattie's`,
          count: '240',
          isSelect: false
        },
        {
          title: 'Macro',
          count: '238',
          isSelect: false
        },
        {
          title: 'Masterfoods',
          count: '161',
          isSelect: false
        },
        {
          title: 'Gourmet Organic',
          count: '157',
          isSelect: false
        },
        {
          title: 'Arnotts',
          count: '155',
          isSelect: false
        },
        {
          title: 'Continental',
          count: '136',
          isSelect: false
        },
        {
          title: 'Heinz',
          count: '135',
          isSelect: false
        },
        {
          title: 'Maggi',
          count: '127',
          isSelect: false
        },
        {
          title: 'Birds Eye',
          count: '123',
          isSelect: false
        },
        {
          title: 'Nestle',
          count: '122',
          isSelect: false
        },
        {
          title: `Lotus Foods`,
          count: '110',
          isSelect: false
        },
        {
          title: `Carman's`,
          count: '108',
          isSelect: false
        },
        {
          title: 'McCain',
          count: '107',
          isSelect: false
        },
        {
          title: `Barker's`,
          count: '99',
          isSelect: false
        },
        {
          title: 'Sanitarium',
          count: '99',
          isSelect: false
        },
        {
          title: 'Uncle Tobys',
          count: '98',
          isSelect: false
        }
      ]
    }
  ]


  return {
    filterNavList,
  }
}